home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Apple II Sample Code / APW.SC / SC17Darts / Darts.asm / UGlobals.asm < prev    next >
Encoding:
Assembly Source File  |  1990-06-24  |  2.2 KB  |  96 lines  |  [TEXT/pdos]

  1. ***********************************************************************
  2. *
  3. *
  4. * darts uglobals.asm -- Version 3.0 
  5. *
  6. * Copyright (c)
  7. * Apple Computer, Inc.  1986-1990
  8. * All Rights Reserved.
  9. *
  10. * Developer Technical Support Apple II Sample Code
  11. *
  12. * This file contains the global variables used by the program.
  13. *
  14. ***********************************************************************
  15.  
  16.                case on
  17.  
  18.                copy darts.equ
  19.  
  20.                mcopy 2/ainclude/m16.memory
  21.                mcopy macros/uglobals.macros
  22.  
  23.                longi on
  24.                longa on
  25.  
  26. initGlobals    start
  27.  
  28.                _TLStartUp               ;Start up Tool Locator & Memory Mgr.
  29.                pha
  30.                _MMStartUp
  31.                pla
  32.                sta userID
  33.  
  34.                stz score
  35.                stz score+2
  36.                stz gameType
  37.  
  38.                rts
  39.  
  40. userID         entry
  41.                dc i2'0'
  42.  
  43. quitFlag       entry
  44.                dc i2'0'
  45.  
  46. event          entry
  47.                dc i2'0'                 ;wmWhat
  48.                dc i4'0'                 ;wmMessage
  49.                dc i4'0'                 ;wmWhen
  50.                dc i4'0'                 ;wmWhere
  51.                dc i2'0'                 ;wmModifiers
  52.                dc i4'0'                 ;wmTaskData
  53.                dc i4'$001FFFFF'         ;wmTaskMask
  54.                dc i4'0'                 ;wmLastClickTick
  55.                dc i2'0'                 ;wmClickCount
  56.                dc i4'0'                 ;wmTaskData2
  57.                dc i4'0'                 ;wmTaskData3
  58.                dc i4'0'                 ;wmTaskData4
  59.                dc i4'0'                 ;wmLastClickPt
  60.  
  61. scoreStrings   entry
  62.                ds 2*10
  63. scoreStringArray entry
  64.                dc i4'scoreStrings,scoreStrings+10'
  65.  
  66. crickettTables entry
  67.                ds 4*26
  68.  
  69. score          entry
  70.                ds 4
  71.  
  72. listEntries    entry
  73.                ds 4
  74.  
  75. scoreList      entry
  76.                ds 8
  77.  
  78. gameType       entry
  79.                dc i2'0'
  80.  
  81. weHaveAWinner  entry
  82.                dc i2'0'
  83.  
  84. firstUpdateComplete entry
  85.                dc i2'0'
  86.  
  87. theWindow      entry
  88.                dc i4'0'
  89.  
  90. lastWindow     entry
  91.                dc i4'0'
  92.  
  93.                end
  94.  
  95.                END
  96.